Hello, all. I am writing a DXL program called MarkObjectsForPublish.dxl This program includes (#include) the file "Common.inc" All of the programs I've written that include Common make use of Logging, so Common.inc includes "Log.dxl". My MorkObjectsForPublish program includes "XmlIO.inc" as well. The problem here is that XmlIo also includes Log.dxl. So, when I attempt to execute MarkObjectsForPublish, I end up with an error that says my variable, cout, which is defined in Log.dxl, is already declared in this scope. So, basically what I need is something like the C++ #ifndef statement. Log.dxl is being interpreted by the DOORS compiler twice, and it does not like it. What should I do? Thanks, all. woodpryan - Mon Sep 23 12:54:53 EDT 2013 |
Re: DXL #ifndef equivalent Sorry, but I don't think this is possible. See also: https://www.ibm.com/developerworks/community/forums/html/topic?id=77777777-0000-0000-0000-000014243238 - Michael |
Re: DXL #ifndef equivalent MichaelGeorg - Tue Sep 24 05:40:15 EDT 2013 Sorry, but I don't think this is possible. See also: https://www.ibm.com/developerworks/community/forums/html/topic?id=77777777-0000-0000-0000-000014243238 - Michael |